package com.wxzz.elearing.comment.service;

import com.wxzz.elearing.comment.dto.ImproveCommentDto;
import com.wxzz.elearing.comment.entity.ImproveComment;
import com.wxzz.elearning.common.vo.JgPageVo;
import com.wxzz.elearning.common.vo.ReturnVO;

import java.util.List;

public interface IImproveCommentService {

    /**
     * 新增评论
     *
     * @param comment
     * @return
     */
    ReturnVO saveComment(ImproveComment comment);

    /**
     * 根据技能ID列出评论
     *
     * @return
     */
    ReturnVO<JgPageVo<List<ImproveComment>>> listComment(ImproveCommentDto improveCommentDto);

    /**
     * 根据改善id删除评论
     * @return
     */
    ReturnVO deleteComment(String uid);
}
